﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0714
{
    /// <summary>
    ///  获取店铺商铺折扣
    /// </summary>
    public class InputGoodRate
    {
        /// <summary>
        ///  登陆用户编码
        /// </summary>
        public string userid { get; set; }
        /// <summary>
        ///  店铺id
        /// </summary>
        //[RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "店铺id必传项！")]//大于0正则表达式
        public int store_id { get; set; }
        /// <summary>
        /// 店铺Path 
        /// </summary>
        public string folderPath { get; set; }
        /// <summary>
        ///  排序方式【 3=修改时间降序；4=创建时间降序；5=序号降序；6=序号升序；】默认3
        /// </summary>
        public int priceOrder { get; set; } = 3;
        /// <summary>
        ///  模糊匹配【商品名称、商品简介】
        /// </summary>
        public string keyword { get; set; }
        /// <summary>
        ///  第几页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        ///  每页数量
        /// </summary>
        public int rows { get; set; } = 10;
    }
}